package a.h;

import javax.swing.*;

public abstract class a
  implements ob
{
  public static boolean a;
  
  public JButton a(String paramString)
  {
    int i = ec.t;
    String str = b(paramString);
    JButton localJButton = new JButton(str);
    if (i == 0)
    {
      if (paramString.endsWith(str))
      {
        if ((i != 0) || (!"OK_ACTION".equals(paramString)))
        {
          if (i != 0) {
            break label84;
          }
          if (!"OK_ACTION.NAME".equals(paramString)) {}
        }
        else
        {
          localJButton.setText("Ok");
          localJButton.setMnemonic(79);
          localJButton.setDefaultCapable(true);
        }
        label84:
        if ((i != 0) || (!"CANCEL_ACTION".equals(paramString)))
        {
          if (i != 0) {
            break label118;
          }
          if (!"CANCEL_ACTION.NAME".equals(paramString)) {}
        }
        else
        {
          localJButton.setText("Cancel");
        }
        label118:
        if ((i != 0) || (!"APPLY_ACTION".equals(paramString)))
        {
          if (i != 0) {
            break label163;
          }
          if (!"APPLY_ACTION.NAME".equals(paramString)) {}
        }
        else
        {
          localJButton.setText("Apply");
          localJButton.setMnemonic(65);
          localJButton.setDefaultCapable(true);
        }
        label163:
        if ((i != 0) || (!"RESET_ACTION".equals(paramString)))
        {
          if (i != 0) {
            break label203;
          }
          if (!"RESET_ACTION.NAME".equals(paramString)) {}
        }
        else
        {
          localJButton.setText("Reset");
          localJButton.setMnemonic(82);
        }
        label203:
        if ((i != 0) || (!"QUERY_ACTION".equals(paramString)))
        {
          if (i != 0) {
            break label243;
          }
          if (!"QUERY_ACTION.NAME".equals(paramString)) {}
        }
        else
        {
          localJButton.setText("Query");
          localJButton.setMnemonic(81);
        }
        label243:
        if ((i != 0) || (("HELP_ACTION".equals(paramString)) || ("HELP_ACTION.NAME".equals(paramString))))
        {
          localJButton.setText("Help");
          localJButton.setMnemonic(72);
        }
      }
      localJButton.setActionCommand(paramString);
    }
    return localJButton;
  }
  
  public Action c(String paramString)
  {
    return null;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.a

 * JD-Core Version:    0.7.0.1

 */